<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
   	<div id="left">
			<div class="top">
	    		<label style="margin-left:65px;">ようこそ</label><br/>
	    		<%if(session.getAttribute("loginState")!=null){%>
	    		<label style="margin-left:40px;">【<label style="color:red;"><%=session.getAttribute("loginState") %></label>】さん</label>
    			<%}%>
    		</div>
    		<div class="caption">管理者操作</div>
    		<div>
    			<%-- not register --%>
    			<%if(application.getAttribute("registerState")==null){%>
    			<input type="button" onclick="goToURL('Common.do?action=toEditAdmin')" class="button" value="管理者情報登録" />
    			<%}%>
    					
    			<%-- not login --%>
    			<%if(session.getAttribute("loginState")==null && application.getAttribute("registerState")!=null){%>
    			<input onclick="goToURL('Common.do?action=toLogin')"type="button"  class="button" value="ログイン" />
    			<%}%>
    			
    			<%-- already login --%>
    			
    			<%if(session.getAttribute("loginState")!=null){%>
    			<input type="button" onclick="goToURL('Common.do?action=toEditAdmin&loginId=<%= session.getAttribute("loginId") %>')" class="button" value="管理者情報変更" />
    			<input type="button" onclick="goToURL('Common.do?action=logout')" class="button" value="ログアウト" />
    			<%}%>
    			
    		</div>
    		<div style="height:20px;"></div>
    		<div class="caption">DVD操作</div>
    		<div>
    			<input type="button" onclick="goToURL('Common.do?action=toDvdList')"  class="button" value="DVD情報一覧" />
    			<input type="button" onclick="goToURL('Common.do?action=toSearch')"  class="button" value="DVD情報検索" />
    			<!%-- already login--%>
    			<%if(session.getAttribute("loginState")!=null){%>
    			<input type="button" onclick="goToURL('Common.do?action=toAddDvd')"  class="button" value="DVD情報登録" />
    			<%}%>
    		</div>
    	</div>